package com.hrm.service;

import com.hrm.pojo.DTO.EmployeeDTO;
import com.hrm.pojo.DTO.EmployeeVO;
import com.hrm.pojo.Employee;
import com.hrm.utils.entity.PageResult;

public interface EmployeeService {
    /**
     * 员工查询
     * @param employeeDTO
     * @return
     */
    PageResult<EmployeeVO> page(EmployeeDTO employeeDTO);

    /**
     * 添加员工
     * @param employee
     * @return
     */
    Boolean insert(Employee employee);

    /**
     * 修改员工
     * @param employee
     * @return
     */
    Boolean updateById( Employee employee);

    /**
     * 删除员工
     * @param id
     * @return
     */
    Boolean deleteById(Integer id);
}
